﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class StringUtil
    {
        public static void a()
        {

            Boolean falg;
            Console.WriteLine("请输入：");
            string b = Console.ReadLine();
            if (b == null)
            {
                falg = true;
            }
            if (b == "")
            {
                falg = true;
            }
            foreach (char item in b)
            {
                if (item == ' ')
                {
                    falg = true;
                }
                else
                {
                    falg = false;
                    break;
                }
            }
        }
    }
}
